package cn.glow.readingcloud.account.pojo;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Glow
 * @Date 2023-04-16 15:15:46
 * @Description 用户书架信息
 * @Version 1.0
 */
@Data
public class UserBookshelf implements Serializable {
    private static final Long serialVersionUID = 1L;
    private Integer id;

    /**
     * 用户
     */
    private Integer userId;

    /**
     * 图书id
     */
    private String bookId;
    /**
     * 最后阅读时间
     */
    private Long lastReadTime;
    @TableField( value = "create_time",fill = FieldFill.INSERT,updateStrategy = FieldStrategy.NEVER)
    private Date createTime;


}
